package xjh.him.entity;

import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 聊天元数据表
 * </p>
 *
 * @author xjh
 * @since 2021-10-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Chat implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    /**
     * 唯一标识码
     */
    private String uniqueCode;

    /**
     * 群号
     */
    private String number;

    /**
     * 聊天类型:single、group
     */
    private String chatType;

    /**
     * 群主id
     */
    private Integer ownerId;

    /**
     * 聊天名
     */
    private String name;

    /**
     * 对方id
     */
    private Integer chatterId;

    /**
     * 群头像
     */
    private String chatAvatar;

    /**
     * 公告
     */
    private String notice;

    private LocalDateTime createTime;


}
